com.borneo.ftp
Interface Connectable

All Known Implementing Classes:
FtpConnectionMgr

public interface Connectable

Covers how to get a connection and how to process the files that need to move over the connection


Method Summary
 void fileAssociationEntries(FileExchangeConnection connection)
          will return the hi-level node of work that needs to go over the connection
 FileExchangeConnection newConnection(ExchangeSession session)
          defines how a connection is instantiated
 

Method Detail

newConnection

public FileExchangeConnection newConnection(ExchangeSession session)
defines how a connection is instantiated
Parameters:
session - the session knows the attributes required for a new connection.
Returns:
returns an implementation of another interface that knows how to process .

fileAssociationEntries

public void fileAssociationEntries(FileExchangeConnection connection)
will return the hi-level node of work that needs to go over the connection
Parameters:
connection - Contains directory and file level information describing the work to process over the connection.